//调用接口配置文件
import { request } from 'config/request'
// 定义接口
export async function getUseDetail(params) {
	return request({
		url: `admin/coupons/report/${params.couponsConfigId}`,
		method: 'GET',
		data: undefined
	});
};
export async function getMonthData(params) {
	return request({
		url: 'admin/coupons/reportByMonth',
		method: 'POST',
		data: params
	});
};